from flask import Flask

from applications.view.admin.admin_log import admin_log
from applications.view.admin.dict import admin_dict
from applications.view.admin.fight import admin_fight
from applications.view.admin.index import admin_bp
from applications.view.admin.file import admin_file
from applications.view.admin.power import admin_power
from applications.view.admin.role import admin_role
from applications.view.admin.run import admin_run
from applications.view.admin.user import admin_user
from applications.view.admin.monitor import admin_monitor_bp
from applications.view.admin.task import admin_task
from applications.view.admin.fire import admin_fire
from applications.view.admin.emo import admin_emo
from applications.view.admin.res import admin_res
from applications.view.admin.act import admin_act
from applications.view.admin.atk_def import admin_atk_def_bp
from applications.view.admin.sim_menu import admin_sim_menu
from applications.view.admin.atkdef import admin_atkdef
from applications.view.admin.earthquake import admin_earthquake
from applications.view.admin.credible import admin_credible
from applications.view.admin.idata import idata_bp
from applications.view.admin.fire_sim import admin_fire_sim_bp
from applications.view.admin.infect import admin_infect_bp

def register_admin_views(app: Flask):
    app.register_blueprint(admin_bp)
    app.register_blueprint(admin_user)
    app.register_blueprint(admin_file)
    app.register_blueprint(admin_monitor_bp)
    app.register_blueprint(admin_log)
    app.register_blueprint(admin_power)
    app.register_blueprint(admin_role)
    app.register_blueprint(admin_dict)
    app.register_blueprint(admin_task)
    app.register_blueprint(admin_fire)
    app.register_blueprint(admin_emo)
    app.register_blueprint(admin_res)
    app.register_blueprint(admin_act)
    app.register_blueprint(admin_atkdef)

    app.register_blueprint(admin_earthquake)
    app.register_blueprint(admin_run)
    app.register_blueprint(admin_fight)
    app.register_blueprint(admin_atk_def_bp)
    app.register_blueprint(admin_sim_menu)
    app.register_blueprint(admin_credible)
    app.register_blueprint(admin_fire_sim_bp)
    app.register_blueprint(admin_infect_bp)
    app.register_blueprint(idata_bp)